package com.jbit.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 节目类型表(DmItemType)实体类
 *
 * @author makejava
 * @since 2023-07-22 08:48:15
 */
public class DmItemType implements Serializable {
    private static final long serialVersionUID = -79885673506325189L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 类型名称
     */
    private String itemType;
    /**
     * 分类级别;select;(1:1级,2:2级)
     */
    private String level;
    /**
     * 父级类型
     */
    private Integer parent;
    /**
     * 类别别名
     */
    private String aliasName;
    /**
     * 页面模板类型
     */
    private String key;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新时间
     */
    private Date updatedTime;

    private List<DmItemType> children;//当前分类下的子级分类

    private List<DmItem> hotItems;//当前分类下的热门项目

    public List<DmItem> getHotItems() {
        return hotItems;
    }

    public void setHotItems(List<DmItem> hotItems) {
        this.hotItems = hotItems;
    }

    public List<DmItemType> getChildren() {
        return children;
    }

    public void setChildren(List<DmItemType> children) {
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}

